Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.diff.content.restAPI.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.diff.content.restAPI.contrib">

  <extension
    target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
    point="restlets">

    <documentation>
      GET
      /nuxeo/restAPI/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}?conversionType=(conversionType)&amp;locale={locale}
    </documentation>

    <restletPlugin name="contentDiff"
      class="org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet"
      enabled="true" useSeam="true">
      <urlPatterns>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/
        </urlPattern>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}
        </urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>

</component>